/**
 * 
 */
package com.ge.healthcare.autosc.common.database.dao;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.ge.healthcare.autosc.common.database.pojo.CfgProdiagsBlockList;

/**
 * @author 212042764
 *
 */
public interface IProdiagBlockListDAO extends IBaseDAO {
	/**
	 * This method accepts the pojo and starts a new transaction so that it can
	 * always save the pojo in DB irrespective the calling transaction was
	 * success/failure
	 * 
	 * @param pojo
	 *            - pojo to save
	 */
	@Transactional(propagation = Propagation.REQUIRES_NEW)
	public void saveAlways(Object pojo);
	
	public List<CfgProdiagsBlockList> getProdiagsBlockByProDiagIgnId(Long proDiagIgnId);
}
